﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace ECS_Test
{
    class Sys_Graphics : System
    {
        public Sys_Graphics(CompTypes[] requiredComponentTypes)
            : base(requiredComponentTypes)
        {

        }
        public override void Update()
        {
            foreach (int _e in entities)
            {
                Comp_Position pos = (Comp_Position)GameState.em.allEntities[_e].comps[CompTypes.Position];
                Comp_Shape shape = (Comp_Shape)GameState.em.allEntities[_e].comps[CompTypes.Shape];
                // Draw(shape,pos) etc.
            }
        }
    }
}
